package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.dto.AddNursingProjectDto;
import com.zzyl.dto.GetPageNursingsDto;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingProjectMapper {

    Page<NursingProjectVo> page(GetPageNursingsDto dto);

    void insertNursingProject(AddNursingProjectDto dto);

    NursingProject getNursingProjectById(Integer id);

    void updateNursingProjectById(NursingProject nursingProject);

    void deleteNursingProjectById(Integer id);

    List<NursingProjectVo> getAllNursingProject();
}
